import request from '@/utils/request'
export function getAllOrder() {
    return request({
        url: "/admin/getAllOrder",
        method: 'get'
    })
}
export function toSendGood(id) {
    return request({
        url: "/admin/toSendGood",
        method: 'post',
        params: { id }
    })
}

export function searchOrderByCode(code) {
    return request({
        url: "/admin/searchOrderByCode",
        method: 'post',
        params: { code }
    })
}

export function searchGoodDetailById(id) {
    return request({
        url: "/admin/searchGoodDetailById",
        method: 'post',
        params: { id }
    })
}